x86/VT-x: Dump VMCS on VMLAUNCH/VMRESUME failure
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 30 Jun 2016 20:00:01 +0000 (21:00 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 4 Jul 2016 09:51:48 +0000 (10:51 +0100)
commitd0fd9ae54491328b10dee4003656c14b3bf3d3e9
tree3882886d6163342ccacb080cb9ba5de625721c20
parentbb4f41b3dff831faaf5a3248e0ecd123024d7f8f
x86/VT-x: Dump VMCS on VMLAUNCH/VMRESUME failure

If a VMLAUNCH/VMRESUME fails due to invalid control or host state, dump the
VMCS before crashing the domain.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/vmx/vmcs.c
xen/include/asm-x86/hvm/vmx/vmcs.h